delete from system_user_function where system_function_id = 19 and system_user_id in (select system_user_id from [system_user] where Login_Name = 'RiyaadCCS') delete from system_user_function where system_function_id = 19 and system_user_id in (select system_user_id from [system_user] where Login_Name = 'GrantOps')